using System.Data;
using VanTaiData;
namespace VanTaiBLL
{
    public class clsTMDoLineBusiness
    {
        public static clsTMDoLineController cls = new clsTMDoLineController();

        #region[GetData]
        public DataTable BindGirdTMDoLine(string keywords)
        {
            return cls.BindGirdTMDoLine(keywords);
        }
        public DataTable BindGirdTMDoLineDetail(int id)
        {
            return cls.BindGirdTMDoLineDetail(id);
        }
        public DataTable BindGridTMDoLineDetailTranf(int id)
        {
            return cls.BindGridTMDoLineDetailTranf(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMDoLine(VanTaiProperty.clsTMDoLineProperty obj)
        {
            return cls.InsertTMDoLine(obj);
        }
        public static bool UpdateTMDoLine(VanTaiProperty.clsTMDoLineProperty obj)
        {
            return cls.UpdateTMDoLine(obj);
        }
        public static bool DeleteTMDoLine(int id)
        {
            return cls.DeleteTMDoLine(id);
        }
        public static bool UpdateTMDoLineQuality(VanTaiProperty.clsTMDoLineProperty obj)
        {
            return cls.UpdateTMDoLineQuality(obj);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}